<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org/">
<head>
    <meta charset="UTF-8">
    <title>修改学生信息</title>
</head>
<script>
    function update() {
        alert("修改成功")
    }
</script>
<body>
<div style="width:800px;height:100%;margin-left:270px;">
    <form action="/student/update" method="post">
        学号：<input  name="sno" type="number" th:value="${student.sno}" readonly="readonly"><br>
        姓名：<input  type="text" th:value="${student.sname}" name="sname"><br>
        年龄：<input  type="text" th:value="${student.sage}" name="sage"><br>
        性别：<input  type="text" th:value="${student.ssex}" name="ssex"><br>
        <button onclick="update()" type="submit">提交</button>
    </form>
</div>
</body>
</html>
